PGMB\Metabox\Main B

Total Complexity 88
Dependencies 10
Dependents 1
Total lines 831
Lines of code 420
Logical lines of code 188
Comment lines 321
Methods 27
Properties 8

Methods 27

Method Rating Maintainability Complexity Lines of code
handle_autopost_on_post_save()
A
46 13 34
ajax_create_post()
A
43 11 47
should_create_autopost()
A
58 9 13
enqueue_metabox_assets()
S
45 4 42
sanitize_form_fields()
S
57 5 17
ajax_load_post()
S
52 4 25
ajax_load_autopost_template()
S
54 4 21
enqueue_block_editor_assets()
S
53 3 24
register_gutenberg_meta()
S
54 3 22
validate_form_fields()
S
55 3 21
save_autopost_checkbox_value()
S
64 4 9
render_auto_post_checkbox()
S
60 2 16
get_autopost_checkbox_checked()
S
62 3 10
__construct()
S
61 2 12
ajax_delete_post()
S
62 2 11
gmb_topic_types()
S
54 1 24
get_subscribed_hooks()
S
56 1 18
is_wp_post_submission()
S
71 2 6
is_autopost_checkbox_checked()
S
71 2 6
render_meta_box()
S
63 2 10
register_meta_box()
S
64 2 10
has_autopost_term()
S
82 1 3
is_autopost_enabled()
S
82 1 3
wp_time_format()
S
72 1 5
catch_rest_request()
S
76 1 4
init()
S
77 1 4
get_post_editor()
S
82 1 3